@import '~@/utils/utils.less';
@import '~antd/lib/style/themes/default.less';

.deliverManage {
  :global {
    .ant-table-placeholder {
      display: none;
    }
    .ant-list-split .ant-list-header {
      border-bottom: 0;
    }
    .ant-calendar-range-picker-input{
      width: 6em;
      text-align: left;
    }
    .ant-calendar-range-picker-separator{
      position: absolute;
      left:6em;
    }
    .ant-list-item {
      padding: 0;
      overflow: hidden;
      // margin-bottom: 12px;
    }
    .ant-spin-nested-loading > div >.ant-spin {
      max-height: 400px !important;
      background-color: transparent !important;
    }
  }  
}
.deliverModalLoading{
  :global{
    .ant-modal-content{
      height:646px;
    }
  }
}

.productName {
  .textOverflowMulti(2);
  a {
    color: #595959;
  }
}
.price {
  color: #595959;
}
.freightColor {
  color: #8c8c8c;
}

.tableListForms {
  :global {
    .ant-form-item {
      display: flex !important;
      margin-right: 0 !important;
      margin-bottom: 16px !important;
      label {
        display: inline-block;
        width: 7em;
        text-align: right;
      }
      > .ant-form-item-label {
        width: auto;
        padding-right: 8px;
        line-height: 32px;
      }
      .ant-form-item-control {
        line-height: 32px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}
.deliverModal{
  td{
    line-height: 40px;  
    :global{
      .ant-form-item{
        margin: 0;
      }      
    }  
  }
  .deliverWay{
    :global{    
      .ant-form-item-control{
         height: 40px;
      }
    }
  }  
}


// .navRow {
//   height: 54px;
//   line-height: 54px;
//   background: #fafafa;
//   padding: 0 16px;
//   border-bottom: 1px solid #E8E8E8;
//   margin-bottom: 16px
// }

.listBody{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 16px;
  border-bottom:0 !important;
  :global {
      .ant-list-item {
          padding-top: 0 !important;
          padding-bottom: 0 !important;
      }
      .ant-list-item-content{
          margin-bottom: 0;
      }
    }
}
.navtebalRow {
  height: 40px;
  line-height: 40px;
  background: #fafafa;
  padding-left: 16px;
  border-bottom: 1px solid #E8E8E8;
  .orderNo {
      color: #595959;
      >span:last-child {
          margin-left: 8px;
      }
  }
}
.navRowItem {
  padding: 0 16px;
  border-bottom: 1px solid #E8E8E8;
  > div {
      border-right: 1px solid #e8e8e8;
      height: 100%;
      padding: 16px;
  }
  > div:last-child {
      border-right: 0;
  }
  >div:first-child {
      padding: 0;
      border-right: 0;
  }
}
.listItem {
    display: flex !important;
  //   padding-right: 16px;
    align-items: flex-start;
    :global {
        .ant-list-item-meta {
            flex:3;
            margin-bottom: 0;
        }
        .ant-list-item-content {
            text-align: right
        }
        .ant-avatar {
            width: 64px;
            height: 64px;
            border-radius: 4px
        }
        .ant-list-item-meta-title {
            color: #595959;
            line-height: 22px;
            font-size: 14px;
            font-weight:400;
            margin-bottom: 8px;
            > span {
              word-break: break-all;
              text-overflow: ellipsis;
              display: -webkit-box;
              /*! autoprefixer: off */
              -webkit-box-orient: vertical;
              /*! autoprefixer: on */
              -webkit-line-clamp: 2;
              overflow: hidden;
            }
        }
        .ant-list-item-meta-description  {
          font-size:12px;
          font-weight:400;
          color:#8C8C8C;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .ant-list-item-meta-content {
          max-width: 145px;
      }
    }
}

.leftItem {
  border-bottom: 1px solid #E8E8E8;
  > div {
      padding: 16px 16px 16px 0;
      border-right: 1px solid #e8e8e8;
      height: 96px;
  }
  > div:last-child {
      padding: 16px 0;
      text-align: center;
      color: #F5222D
  }
}
.leftItemNoborder {
  > div {
      padding: 16px 16px 16px 0;
      border-right: 1px solid #e8e8e8;
      height: 96px;
  }
  > div:last-child {
      padding: 16px 0;
      text-align: center;
      color: #F5222D;
  }
}

.exportModal {
    :global {
        .ant-form-item{
            margin-bottom: 0;
        }
    }
  }
  .rowBody {
    padding-left: 16px;
    :global {
        .ant-form-item{
            margin-bottom: 0;
        }
        .ant-form-item-label {
            text-align: left;
        }
    }
  }
